WP_DataSync\App\DataSync D

Total Complexity 176
Dependencies 4
Dependents 2
Total lines 1,745
Lines of code 704
Logical lines of code 363
Comment lines 514
Methods 63
Properties 16

Methods 63

Method Rating Maintainability Complexity Lines of code
process()
A
43 11 51
attachment()
A
40 10 57
set_term()
A
46 11 38
term_meta()
A
55 8 20
fetch_post_id()
S
51 7 28
term_thumb()
S
53 7 25
taxonomy()
S
52 7 23
maybe_trash_post()
S
58 7 16
file_type()
S
54 6 23
term_desc()
S
55 6 20
gallery_images()
S
50 5 29
fetch_post_ids()
S
53 5 24
set_post_id()
S
60 4 14
term_exists()
S
52 3 27
attachment_exists()
S
59 3 16
update_date()
S
58 3 16
insert_post_row()
S
61 3 13
insert_placeholder()
S
61 3 12
post_data()
S
63 3 11
post_data_apply_filters()
S
62 3 11
attachment_id()
S
66 3 9
post_meta()
S
66 3 8
post_data_defaults()
S
66 3 8
set_properties()
S
68 3 7
image_array()
S
62 2 12
reset_term_taxonomy_count()
S
61 1 17
post_data_keys()
S
59 1 16
get_post_type()
S
71 2 6
is_valid_image_url()
S
67 2 7
integrations()
S
72 2 5
featured_image()
S
73 2 5
file_path()
S
70 2 6
ssl_verify()
S
72 2 6
fetch_image_data()
S
63 2 10
process_acf()
S
63 2 10
save_post_meta()
S
64 2 9
set_featured_image()
S
81 1 3
set_taxonomies()
S
81 1 3
restricted_meta_keys()
S
65 1 10
set_post_meta()
S
81 1 3
basename()
S
74 1 4
set_attachment()
S
81 1 3
set_post_data()
S
81 1 3
get_attachment()
S
82 1 3
get_primary_id()
S
82 1 3
set_order_items()
S
81 1 3
instance()
S
80 1 3
get_order_items()
S
82 1 3
get_integrations()
S
82 1 3
get_gallery_details()
S
79 1 3
get_gallery_images()
S
79 1 3
get_variations()
S
79 1 3
get_attributes()
S
79 1 3
get_featured_image()
S
82 1 3
get_is_new()
S
82 1 3
get_taxonomies()
S
82 1 3
get_post_meta()
S
82 1 3
post_meta_key()
S
78 1 3
post_meta_value()
S
73 1 4
get_post_data()
S
82 1 3
get_post_id()
S
82 1 3
get_selected_options()
S
79 1 3
__construct()
S
91 1 2